//
//  MTModel.h
//  MobTimes
//
//  Created by 江山 王 on 4/30/12.
//  Copyright (c) 2012 Finalist. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MTURLRequest.h"

@interface MTModel : NSObject {
    id _controller;
    NSString *_urlStr;
    BOOL _isLoading;
    BOOL _isReloading;
}

@property (nonatomic, assign)id controller;
@property (nonatomic, assign)BOOL isLoading;
@property (nonatomic, assign)BOOL isReloading;

- (id)initWithController:(id)controllerParam andURLStr:(NSString *)urlStr;

- (void)loadData;

- (void)reloadData;

- (void)didFinishLoad;

- (void)didFinishLoad:(MTURLRequest *)urlRequest;

@end